//
//  PainterUserDataBase.h
//  p4
//
//  Created by CaoJun on 15/5/25.
//  Copyright (c) 2015年 com.baidao. All rights reserved.
//

#import "PainterBase.h"
#import "UserGraphInterface.h"

@interface PainterUserDataBase : PainterBase

- (void) drawLine:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withUserGraph:(ytx::UserGraph) userGraph withDrawSubline:(BOOL)isDrawSubline;

- (void) drawRectangle:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withUserGraph:(ytx::UserGraph) userGraph withDrawSubline:(BOOL)isDrawSubline;


- (void)drawCrosshairsY:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withPx:(CGFloat) px;
- (void)drawCrosshairsYText:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withPx:(CGFloat) px withText:(NSString *) text;
- (void)drawCrosshairsXText:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withPx:(CGFloat) px withText:(NSString *) text;
- (void)drawCrosshairsX:(CGRect)cgrect withContext:(ChartCanvas *) ctx withViewModelIndexPosition:(ytx::ViewModelIndexPosition *) indexPosition withPx:(CGFloat) px;

- (void)drawHoldingPositionInfosWithContext:(ChartCanvas *)ctx viewModelIndexPosition:(ytx::ViewModelIndexPosition *)indexPosition;
@end
